﻿namespace BM.Tools.WebControls.MForm.Controls.Additions
{
    /// <summary>
    /// A class that holds data about key reference
    /// </summary>
    public class KeyRef
    {
        /// <summary>
        /// Gets or sets Selector.
        /// </summary>
        /// <value>
        /// The selector.
        /// </value>
        public string Selector
        {
            get;
            set;
        }

        /// <summary>
        /// clones the object
        /// </summary>
        /// <returns>
        /// the clone of the KeyRef
        /// </returns>
        internal KeyRef Clone()
        {
            return new KeyRef
                   {                       
                           Selector = Selector
                   };            
        }
    }
}